package com.mdd.common.enums;

/**
 * @Description
 * @Author 幻速
 * @Date 2023/12/20 18:32
 **/
public enum IsDisableEnum {
    //是否禁用: [0=否, 1=是]
    IS_DISABLE(1, "是禁用"),
    NO_DISABLE(0, "没有禁用");

    /**
     * 构造方法
     */
    private final int code;
    private final String msg;
    IsDisableEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    /**
     * 获取状态码
     *
     * @author fzr
     * @return Long
     */
    public int getCode() {
        return this.code;
    }

    /**
     * 获取提示
     *
     * @author fzr
     * @return String
     */
    public String getMsg() {
        return this.msg;
    }
}
